home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19950329-19950528 / 000400_news@columbia.edu_Wed May 17 03:52:00 1995.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA26910
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Wed, 17 May 1995 16:08:46 -0400
  3. Received: by apakabar.cc.columbia.edu id AA14930
  4.   (5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Wed, 17 May 1995 16:08:08 -0400
  5. Path: news.columbia.edu!sol.ctr.columbia.edu!howland.reston.ans.net!swrinde!elroy.jpl.nasa.gov!netline-fddi.jpl.nasa.gov!nntp-server.caltech.edu!almach.caltech.edu!shoppa
  6. From: shoppa@almach.krl.caltech.edu (Timothy D. Shoppa)
  7. Newsgroups: comp.protocols.kermit.misc
  8. Subject: Re: VMS Kermit cant upload to Compuserve
  9. Date: 17 May 1995 11:52 PST
  10. Organization: California Institute of Technology
  11. Lines: 46
  12. Distribution: world
  13. Message-Id: <17MAY199511524255@almach.caltech.edu>
  14. References: <3pcadt$8o4@dscomsa.desy.de>
  15. Nntp-Posting-Host: almach.krl.caltech.edu
  16. News-Software: VAX/VMS VNEWS 1.41    
  17. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  18.  
  19. In article <3pcadt$8o4@dscomsa.desy.de>, PETER@EMBL-HAMBURG.DE (Peter Bendall) writes...
  20. >The following question is unanswered on the German DECUS Notes Conference
  21. >Relating to an apparent conversion of a file from Binary to Text after being
  22. >sent to Compuserve as Binary.
  23. >I would be grateful if somebody could help, please! Is this a Compuserve
  24. > problem?
  25. > Before uploading, I gave the following settings:
  26. >    SET TERMINAL BYTESIZE 8
  27. >    SET TERMINAL CHAR TRANSPARENT
  28. >    SET FILE TYPE BINARY
  29.                    ^^^^^^
  30. >    SET SEND PACKET 2000 
  31. >    SET BLOCK 3
  32. >    SET WINDOW 4
  33.  
  34. I've been bitten by this one before, myself.  Look at the file CKVKER.BWR
  35. that should've come with your distribution; here's the applicable
  36. excerpt:
  37.  
  38. <Excerpt begins>
  39.  
  40.  FILE TRANSFER
  41.  
  42.  File transfer modes (TEXT vs BINARY) are set automatically for each file when
  43.  sending.  The SET FILE TYPE BINARY and SET FILE TYPE TEXT commands are ignored
  44.  when sending files.  To force binary-mode transmission, use SET FILE TYPE
  45.  IMAGE.  See the VMS appendix of "Using C-Kermit".
  46.  
  47. <Excerpt ends>
  48.  
  49. The automagic file mode works most of the time, actually.  In particular,
  50. a file will always be sent in Binary if the file being transferred has
  51. the attribute "Fixed length 512 byte records".  But files created with
  52. the "Stream" attribute will be sent as Text, even if Binary is
  53. more appropriate.  Changing SET FILE TYPE BINARY to SET FILE TYPE IMAGE
  54. will make things work like you would expect.
  55.  
  56. [Actually, I find the automatic file mode detection to often be
  57. more of a hazard than a convenience, in many cases.]
  58.  
  59. Tim. (shoppa@krl.caltech.edu)
  60. Kellogg Radiation Lab, Caltech.